package com.zkq.moduleImport;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @author: ZhangKaiQiang
 * @date: 2021/3/15
 * @time: 17:32
 **/
public class BarImportSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{Bar.class.getName(),BarConfigu.class.getName()};
    }
}
